$namespace: 'ia' !default;
$block-sel: '-' !default;
$elem-sel: '__' !default;
$mod-sel: '--' !default;

// <div class="ia-block">

// .ia-block { display: flex; }

@mixin b($block) {
    $B:#{$namespace + $block-sel + $block};
    .#{$B} {
        @content;
    }
}

// .ia-block__inner {}
@mixin e($el) {
    $selector: &;
    @at-root {
        #{$selector + $elem-sel + $el} {
            @content;
        }
    }
    
}

@mixin m($m) {
    $selector: &;
    @at-root {
        #{$selector + $mod-sel + $m} {
            @content;
        }
    }
}

// index
@mixin bfc {
    height: 100%;
    overflow: hidden;
}